package com.zyr.service;

import com.zyr.domain.Order;
import com.zyr.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author 35747
* @description 针对表【user】的数据库操作Service
* @createDate 2024-07-28 19:06:50
*/
public interface UserService extends IService<User> {

    /**
     * 返回所有用户以及其对应的订单
     * @return
     */
    Map<String,List<Order>> listAndOrder();

    boolean saveit(User user);
}
